<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<script>
  function Father(name, age){
    this.name = name;
    this.age = age;
  }
  function Son(name, age, score){
    Father.call(this, name, age);
    this.score = score;
  }

  var son = new Son('xiaoming', 16, 88);
  console.log(son);
</script>
</body>
</html>